<ion-view cache-view="false">
  <ion-header-bar class="bar bar-header header">
    <button on-touch="goback()" class="button return-btn">返回</button>
    <h1 class="title" on-touch="backToTop()">详情</h1>
  </ion-header-bar>
  <ion-content overflow-scroll="true" has-bouncing="true" on-swipe-left="swipeLeft()" on-swipe-right="swipeRight()">
    <div ng-if="newsContent">
      <div class="news-detail-tit">
        <h2>{{newsContent.message_title}}</h2>
        <p>{{newsContent.message_time | date:"yyyy-MM-dd HH:mm"}} &nbsp;&nbsp;<label>{{newsContent.message_author}}</label></p>
      </div>
        <div class="news-detail-intro" >{{newsContent.message_summary}}</div>

      <div class="news-detail-con message_content text-copy" on-touch="touch()" id="newsDetail" data-tap-disabled=true ng-bind-html="newsContent.message_content|to_trusted"></div>
    </div>
</ion-content>

  <div class="tabs tabs-icon-only ctrl-fix-nav" ng-if="newsContent">
    <a on-touch="collectNews()" class="tab-item">
      <i class="icon ctrl-collect-btn" ng-class="{'active':newsContent.mcStatus}"></i>
    </a>
    <a on-touch="likeNews()" class="tab-item">
      <i class="icon ctrl-praise-btn" ng-class="{'active':newsContent.lmStatus}"></i>
    </a>
    <a ng-href="#/newsomment/{{newsContent.message_id}}" class="tab-item">
      <i class="icon ctrl-comment-btn"><em class="ctrl-nav-num" ng-bind="newsContent.message_comment_num"></em></i>
    </a>
  </div>
</ion-view>

